﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Drawing;
using System.Drawing.Imaging;

namespace PictureTransform
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main( string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run();

            if( args.Length < 1 )
                MessageBox.Show("Usage: PicureTransform.exe filepath.jpg");

            var processor = new ImageProcessing();
            processor.NormalizeRotation(args, null, null);
        }
    }
}
